// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_WIP_CUR
// * CreateDate    : 2014-06-05 18:30:21
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:21
// * LastChanger   : 2014-06-05 18:30:21
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class ProdWipCurTable : TableInfo
    {
		public const string C_TableName = "PROD_WIP_CUR";
		
		public const string C_Id = "Id";
		public const string C_WO_No = "WO_No";
		public const string C_Prod_Id = "Prod_Id";
		public const string C_Prod_Code = "Prod_Code";
		public const string C_Prod_Name = "Prod_Name";
		public const string C_Qty = "Qty";
		public const string C_Prod_SN = "Prod_SN";
		public const string C_Pre_WorkGroup_No = "Pre_WorkGroup_No";
		public const string C_Cur_WorkGroup_No = "Cur_WorkGroup_No";
		public const string C_Nxt_WorkGroup_No = "Nxt_WorkGroup_No";
		public const string C_User_No = "User_No";
		public const string C_Pre_Technic_No = "Pre_Technic_No";
		public const string C_Cur_Technic_No = "Cur_Technic_No";
		public const string C_Nxt_Technic_No = "Nxt_Technic_No";
		public const string C_Technic_Seq = "Technic_Seq";
		public const string C_Cur_Route_NO = "Cur_Route_NO";
		public const string C_Pre_Route_No = "Pre_Route_No";
		public const string C_Nxt_Route_No = "Nxt_Route_No";
		public const string C_Cur_Route_Name = "Cur_Route_Name";
		public const string C_Deft_Code1 = "Deft_Code1";
		public const string C_Deft_Code2 = "Deft_Code2";
		public const string C_Deft_Code3 = "Deft_Code3";
		public const string C_Pre_Asset_Code = "Pre_Asset_Code";
		public const string C_Cur_Asset_Code = "Cur_Asset_Code";
		public const string C_Nxt_Asset_Code = "Nxt_Asset_Code";
		public const string C_Cur_Asset_Name = "Cur_Asset_Name";
		public const string C_Status = "Status";
		public const string C_Main_Route_NO = "Main_Route_NO";
		public const string C_Main_Route_Name = "Main_Route_Name";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_Technic_Item_Id = "Technic_Item_Id";
		public const string C_Cur_Technic_Name = "Cur_Technic_Name";
		
		public ProdWipCurTable()
        {
            _tableName = "PROD_WIP_CUR";
        }
		
		protected static ProdWipCurTable _current;
        public static ProdWipCurTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new ProdWipCurTable();

            _current.Add(C_Id, new ColumnInfo(C_Id,"Id", true, typeof(string)));
            _current.Add(C_WO_No, new ColumnInfo(C_WO_No,"WoNo", false, typeof(string)));
            _current.Add(C_Prod_Id, new ColumnInfo(C_Prod_Id,"ProdId", false, typeof(string)));
            _current.Add(C_Prod_Code, new ColumnInfo(C_Prod_Code,"ProdCode", false, typeof(string)));
            _current.Add(C_Prod_Name, new ColumnInfo(C_Prod_Name,"ProdName", false, typeof(string)));
            _current.Add(C_Qty, new ColumnInfo(C_Qty,"Qty", false, typeof(int)));
            _current.Add(C_Prod_SN, new ColumnInfo(C_Prod_SN,"ProdSn", false, typeof(string)));
            _current.Add(C_Pre_WorkGroup_No, new ColumnInfo(C_Pre_WorkGroup_No,"PreWorkgroupNo", false, typeof(string)));
            _current.Add(C_Cur_WorkGroup_No, new ColumnInfo(C_Cur_WorkGroup_No,"CurWorkgroupNo", false, typeof(string)));
            _current.Add(C_Nxt_WorkGroup_No, new ColumnInfo(C_Nxt_WorkGroup_No,"NxtWorkgroupNo", false, typeof(string)));
            _current.Add(C_User_No, new ColumnInfo(C_User_No,"UserNo", false, typeof(string)));
            _current.Add(C_Pre_Technic_No, new ColumnInfo(C_Pre_Technic_No,"PreTechnicNo", false, typeof(string)));
            _current.Add(C_Cur_Technic_No, new ColumnInfo(C_Cur_Technic_No,"CurTechnicNo", false, typeof(string)));
            _current.Add(C_Nxt_Technic_No, new ColumnInfo(C_Nxt_Technic_No,"NxtTechnicNo", false, typeof(string)));
            _current.Add(C_Technic_Seq, new ColumnInfo(C_Technic_Seq,"TechnicSeq", false, typeof(int)));
            _current.Add(C_Cur_Route_NO, new ColumnInfo(C_Cur_Route_NO,"CurRouteNo", false, typeof(string)));
            _current.Add(C_Pre_Route_No, new ColumnInfo(C_Pre_Route_No,"PreRouteNo", false, typeof(string)));
            _current.Add(C_Nxt_Route_No, new ColumnInfo(C_Nxt_Route_No,"NxtRouteNo", false, typeof(string)));
            _current.Add(C_Cur_Route_Name, new ColumnInfo(C_Cur_Route_Name,"CurRouteName", false, typeof(string)));
            _current.Add(C_Deft_Code1, new ColumnInfo(C_Deft_Code1,"DeftCode1", false, typeof(string)));
            _current.Add(C_Deft_Code2, new ColumnInfo(C_Deft_Code2,"DeftCode2", false, typeof(string)));
            _current.Add(C_Deft_Code3, new ColumnInfo(C_Deft_Code3,"DeftCode3", false, typeof(string)));
            _current.Add(C_Pre_Asset_Code, new ColumnInfo(C_Pre_Asset_Code,"PreAssetCode", false, typeof(string)));
            _current.Add(C_Cur_Asset_Code, new ColumnInfo(C_Cur_Asset_Code,"CurAssetCode", false, typeof(string)));
            _current.Add(C_Nxt_Asset_Code, new ColumnInfo(C_Nxt_Asset_Code,"NxtAssetCode", false, typeof(string)));
            _current.Add(C_Cur_Asset_Name, new ColumnInfo(C_Cur_Asset_Name,"CurAssetName", false, typeof(string)));
            _current.Add(C_Status, new ColumnInfo(C_Status,"Status", false, typeof(string)));
            _current.Add(C_Main_Route_NO, new ColumnInfo(C_Main_Route_NO,"MainRouteNo", false, typeof(string)));
            _current.Add(C_Main_Route_Name, new ColumnInfo(C_Main_Route_Name,"MainRouteName", false, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_Technic_Item_Id, new ColumnInfo(C_Technic_Item_Id,"TechnicItemId", false, typeof(string)));
            _current.Add(C_Cur_Technic_Name, new ColumnInfo(C_Cur_Technic_Name,"CurTechnicName", false, typeof(string)));
			
		}
		
		public ColumnInfo Id
        {
            get { return this[C_Id]; }
        }
		
		public ColumnInfo WO_No
        {
            get { return this[C_WO_No]; }
        }
		
		public ColumnInfo Prod_Id
        {
            get { return this[C_Prod_Id]; }
        }
		
		public ColumnInfo Prod_Code
        {
            get { return this[C_Prod_Code]; }
        }
		
		public ColumnInfo Prod_Name
        {
            get { return this[C_Prod_Name]; }
        }
		
		public ColumnInfo Qty
        {
            get { return this[C_Qty]; }
        }
		
		public ColumnInfo Prod_SN
        {
            get { return this[C_Prod_SN]; }
        }
		
		public ColumnInfo Pre_WorkGroup_No
        {
            get { return this[C_Pre_WorkGroup_No]; }
        }
		
		public ColumnInfo Cur_WorkGroup_No
        {
            get { return this[C_Cur_WorkGroup_No]; }
        }
		
		public ColumnInfo Nxt_WorkGroup_No
        {
            get { return this[C_Nxt_WorkGroup_No]; }
        }
		
		public ColumnInfo User_No
        {
            get { return this[C_User_No]; }
        }
		
		public ColumnInfo Pre_Technic_No
        {
            get { return this[C_Pre_Technic_No]; }
        }
		
		public ColumnInfo Cur_Technic_No
        {
            get { return this[C_Cur_Technic_No]; }
        }
		
		public ColumnInfo Nxt_Technic_No
        {
            get { return this[C_Nxt_Technic_No]; }
        }
		
		public ColumnInfo Technic_Seq
        {
            get { return this[C_Technic_Seq]; }
        }
		
		public ColumnInfo Cur_Route_NO
        {
            get { return this[C_Cur_Route_NO]; }
        }
		
		public ColumnInfo Pre_Route_No
        {
            get { return this[C_Pre_Route_No]; }
        }
		
		public ColumnInfo Nxt_Route_No
        {
            get { return this[C_Nxt_Route_No]; }
        }
		
		public ColumnInfo Cur_Route_Name
        {
            get { return this[C_Cur_Route_Name]; }
        }
		
		public ColumnInfo Deft_Code1
        {
            get { return this[C_Deft_Code1]; }
        }
		
		public ColumnInfo Deft_Code2
        {
            get { return this[C_Deft_Code2]; }
        }
		
		public ColumnInfo Deft_Code3
        {
            get { return this[C_Deft_Code3]; }
        }
		
		public ColumnInfo Pre_Asset_Code
        {
            get { return this[C_Pre_Asset_Code]; }
        }
		
		public ColumnInfo Cur_Asset_Code
        {
            get { return this[C_Cur_Asset_Code]; }
        }
		
		public ColumnInfo Nxt_Asset_Code
        {
            get { return this[C_Nxt_Asset_Code]; }
        }
		
		public ColumnInfo Cur_Asset_Name
        {
            get { return this[C_Cur_Asset_Name]; }
        }
		
		public ColumnInfo Status
        {
            get { return this[C_Status]; }
        }
		
		public ColumnInfo Main_Route_NO
        {
            get { return this[C_Main_Route_NO]; }
        }
		
		public ColumnInfo Main_Route_Name
        {
            get { return this[C_Main_Route_Name]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo Technic_Item_Id
        {
            get { return this[C_Technic_Item_Id]; }
        }
		
		public ColumnInfo Cur_Technic_Name
        {
            get { return this[C_Cur_Technic_Name]; }
        }
		
		
		
	}
}

